[paket]
tanim   = OpenSUSE'den donanım algılama aracı
paketci = Cihan_Alkan
grup 	= İnternet
url     = https://github.com/openSUSE/hwinfo

[gerek]
derleme    = libx86emu
calisma    =  

[kaynak]
1      = https://github.com/openSUSE/$isim/archive/$surum.tar.gz
2 = https://github.com/archlinux/svntogit-community/raw/packages/hwinfo/trunk/custom_ioctl.patch

[sha1]
#1 		= SKIP

[derle]
betik = patch -p0 -i /sources/custom_ioctl.patch
betik = cd $SRC
betik = make -C $isim-$surum -j1 CFLAGS+="-fPIC -ISRC/$isim-$surum/src/hd"  HWINFO_VERSION="$surum" LIBDIR=/usr/lib

[pakur]
betik = cd $SRC
betik = make -C $isim-$surum LIBDIR=/usr/lib DESTDIR="$PKG" install
betik = mv "$PKG/usr/sbin" "$PKG/usr/bin"
